home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Mania 1
/
MacMania 1.toast
/
Educational
/
Education'More
/
M-Q
/
Math.cpt
/
Math
/
card_4120.txt
< prev
next >
Wrap
Text File
|
1990-12-18
|
3KB
|
163 lines
-- card: 4120 from stack: in
-- bmap block id: 4556
-- flags: 0000
-- background id: 2700
-- name:
----- HyperTalk script -----
on opencard
global right, wrong
put 0 into right
put right into field numright
put 0 into wrong
put wrong into field numwrong
click at loc of card field step1
end opencard
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=235 top=114 right=142 bottom=304
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 24
-- style flags: 256
-- line height: 32
-- part name: second
-- part 2 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=227 top=230 right=259 bottom=304
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 24
-- style flags: 256
-- line height: 32
-- part name: result
----- HyperTalk script -----
on returnInField
global right,wrong
if card field result <> (card field first)*(card field second) then
put "Try again" into card field feedback
put wrong +1 into field numwrong
talk card field feedback ,150,150
put "" into card field result
end if
if card field result = (card field first)*(card field second) then
put "Right" into card field feedback
put right + 1 into field numright
talk card field feedback,150,150
put round of random of 99 into card field first
talk card field first,150,150
talk "times",150,150
put round of random of 99 into card field second
talk card field second,150,150
put "" into card field result
end if
put "" into card field feedback
put "" into card field step1
put "" into card field step2
click at the loc of card field result
end returnInField
-- part 4 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=235 top=79 right=109 bottom=304
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 24
-- style flags: 256
-- line height: 32
-- part name: first
-- part 5 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=341 top=123 right=149 bottom=463
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 18
-- style flags: 256
-- line height: 24
-- part name: feedback
-- part 8 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=235 top=158 right=187 bottom=304
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 24
-- style flags: 256
-- line height: 32
-- part name: step1
----- HyperTalk script -----
on returnInfield
click at the loc of card field step2
end returnInfield
-- part 9 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=227 top=188 right=217 bottom=286
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 65535
-- font id: 3
-- text size: 24
-- style flags: 256
-- line height: 32
-- part name: step2
----- HyperTalk script -----
on returnInfield
click at the loc of card field result
end returnInfield
-- part contents for background part 6
----- text -----
test
-- part contents for card part 1
----- text -----
48
-- part contents for card part 4
----- text -----
79
-- part contents for background part 22
----- text -----
0
-- part contents for background part 23
----- text -----
0